package com.skit.common.ktx

import retrofit2.Retrofit

object RetrofitKtx {
    inline fun <reified T> Retrofit.getService(t: T): T {
        return create(T::class.java)
    }

    fun <T> Retrofit.getService(tClass: Class<T>): T {
        return create(tClass)
    }
}